//
//  TicketListViewController.h
//  WeiShangKeProj
//
//  Created by 焱 孙 on 15/5/28.
//  Copyright (c) 2015年 visionet. All rights reserved.
//

#import "QNavigationViewController.h"
#import "PullingRefreshTableView.h"
#import "ChatObjectVo.h"
#import "NoSearchView.h"

typedef enum _TicketListType{
    TicketListCustomerType,     //某个客户的工单列表
    TicketListAllType       //所有工单列表
}TicketListType;

@interface TicketListViewController : QNavigationViewController<UITableViewDataSource,UITableViewDelegate,UISearchBarDelegate,UISearchDisplayDelegate,PullingRefreshTableViewDelegate>

@property (nonatomic)TicketListType ticketListType;
@property (nonatomic, strong) NSString *strSearchText;
@property (nonatomic, strong) ChatObjectVo *m_chatObjectVo;

@property(nonatomic,strong)NoSearchView *noSearchView;
@property (nonatomic, strong) PullingRefreshTableView *tableViewTicketList;
@property (nonatomic, strong) NSMutableArray *aryTicketList;          //全部工单
@property (nonatomic, strong) NSMutableArray *aryFilteredObject;    //筛选的数据

@property (nonatomic, strong) UISearchDisplayController *userSearchDisplayController;
@property (nonatomic, strong) UISearchBar *searchBar;

@property (nonatomic) NSInteger nCurrPage;
@property (nonatomic) BOOL refreshing;

@end
